﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using CommunitySystemModel;

namespace CommunitySystem.Web.Service
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码和配置文件中的接口名“IJuZhuanAnZhiService”。
    [ServiceContract]
    public interface IJuZhuanAnZhiService
    {
        [OperationContract]
        ObservableCollection<JuZhuanAnZhiJiHuaModel> GetZhaoLuJiHuaModel(int zhaoluid, string islocked);
         [OperationContract]
        ObservableCollection<JuZhuanAnZhiJiHuaModel> GetZhaoLuJiHuaModelForCom();
         [OperationContract]
        int InsertJuZhuanAnZhiJiHuaTitle(JuZhuanAnZhiJiHuaModel ZhaoLuJiHua);
        [OperationContract]
        bool DeleteJuZhuanAnZhiJiHua(int id);
        [OperationContract]
        bool SuoJuZhuanAnZhiJiHua();
         [OperationContract]
        ObservableCollection<JuZhuanAnZhiJiHuaEmpModel> GetJuZhuanAnZhiJiHuaEmpModel(int zhaoluid, string name, int id);
         [OperationContract]
        bool AddJuZhuanAnZhiJiHuaEmpModel(JuZhuanAnZhiJiHuaEmpModel item);
         [OperationContract]
        bool UpdateJuZhuanAnZhiJiHuaEmpModel(JuZhuanAnZhiJiHuaEmpModel item);
        [OperationContract]
        bool DeleteJuZhuanAnZhiJiHuaEmp(int id);
         [OperationContract]
        bool QueRenJuZhuanAnZhiJiHuaEmpModel(ObservableCollection<JuZhuanAnZhiJiHuaEmpModel> item, DateTime? dt);
    }
}
